package com.hyq.eduservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 告警记录
 * </p>
 *
 * @author hyq
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbAlarm对象", description="告警记录")
public class TbAlarm implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "alarm_id", type = IdType.AUTO)
    private Integer alarmId;

    @ApiModelProperty(value = "巡线人员")
    private Integer userId;

    @ApiModelProperty(value = "告警类型 与字典表关联")
    private Integer typeId;

    @ApiModelProperty(value = "计划ID")
    private Integer planId;

    @ApiModelProperty(value = "任务ID")
    private Integer taskId;

    @ApiModelProperty(value = "采集时间")
    private Date collectionTime;

    private String lon;

    private String lat;

    @ApiModelProperty(value = "投影坐标x")
    private String projectionX;

    @ApiModelProperty(value = "投影坐标y")
    private String projectionY;

    @ApiModelProperty(value = "即时速度(公里/小时)")
    private Integer presentSpeed;

    @ApiModelProperty(value = "具体地址")
    private String address;


}
